<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        .box{
            font-size: 16px;
            border: solid 1px #ddd;
            width: 200px;
            height: 200px;
            padding: 10px;
            margin: 1rem;
        }
    </style>
</head>
<body>
    <h1>direction</h1>

    <h2>direction: ltr</h2>
    <div class="box" style="direction: ltr">
         半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

    <h2>direction: rtl</h2>
    <div class="box" style="direction:rtl;unicode-bidi:bidi-override">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>


    <h1>writing-mode</h1>
    <h2>writing-mode: horizontal</h2>
    <div class="box" style="writing-mode: horizontal">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

    <h2>writing-mode: vertical-lr</h2>
    <div class="box" style="writing-mode: vertical-lr">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

    <h2>writing-mode: vertical-rl</h2>
    <div class="box" style="writing-mode: vertical-rl">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

    <h2>writing-mode: lr-tb</h2>
    <div class="box" style="writing-mode: lr-tb">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

    <h2>writing-mode: tb-rl</h2>
    <div class="box" style="writing-mode: tb-rl">
        半角字符如拉丁字母或片假名顺时针旋转90度。这种布局是东亚语系通常使用的
    </div>

</body>
</html>